package ai.example.langchain4j.config;


import org.springframework.context.annotation.Configuration;

@Configuration
public class EmbeddingStoreConfig {

  private final StoreProperties storeProperties;

  public EmbeddingStoreConfig(StoreProperties storeProperties) {
    this.storeProperties = storeProperties;
  }

//  @Bean
//  public EmbeddingStore<TextSegment> embeddingStore() {
//    return RedisEmbeddingStore.builder()
//      .host(storeProperties.getRedis().getHost())
//      .port(storeProperties.getRedis().getPort())
//      .dimension(384)
//      .build();
//  }


}
